<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.4"/>
<title>Mine Sweeper Clone: Riferimenti per il file records_io.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Mine Sweeper Clone
   &#160;<span id="projectnumber">0.9</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generato da Doxygen 1.8.4 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Cerca');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Pagina&#160;Principale</span></a></li>
      <li><a href="pages.html"><span>Pagine&#160;collegate</span></a></li>
      <li><a href="annotated.html"><span>Classi</span></a></li>
      <li class="current"><a href="files.html"><span>File</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Cerca" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Elenco&#160;dei&#160;file</span></a></li>
      <li><a href="globals.html"><span>Elementi&#160;dei&#160;file</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Tutto</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classi</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>File</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Funzioni</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variabili</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Tipi enumerati (enum)</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Valori del tipo enumerato</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Definizioni</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Pagine</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Composti</a> &#124;
<a href="#func-members">Funzioni</a>  </div>
  <div class="headertitle">
<div class="title">Riferimenti per il file records_io.h</div>  </div>
</div><!--header-->
<div class="contents">

<p>Header del modulo per la gestione del file dei records.  
<a href="#details">Continua...</a></p>

<p><a href="records__io_8h_source.html">Vai al codice sorgente di questo file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Composti</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structrecord__data__s.html">record_data_s</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Struttura contenente i dati del record attuale della partita.  <a href="structrecord__data__s.html#details">Continua...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Funzioni</h2></td></tr>
<tr class="memitem:a2843387e2881ca45b6c204aef30140d9"><td class="memItemLeft" align="right" valign="top">gboolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="records__io_8h.html#a2843387e2881ca45b6c204aef30140d9">load_current_record</a> (<a class="el" href="structrecord__data__s.html">record_data_s</a> *adata, const int acols, const int arows, const int amines)</td></tr>
<tr class="memdesc:a2843387e2881ca45b6c204aef30140d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Lettura del record corrente.  <a href="#a2843387e2881ca45b6c204aef30140d9">Continua...</a><br/></td></tr>
<tr class="separator:a2843387e2881ca45b6c204aef30140d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7aa82a2876c163b4ced2dd2137d092d9"><td class="memItemLeft" align="right" valign="top">gboolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="records__io_8h.html#a7aa82a2876c163b4ced2dd2137d092d9">save_current_record</a> (<a class="el" href="structrecord__data__s.html">record_data_s</a> adata, const int acols, const int arows, const int amines)</td></tr>
<tr class="memdesc:a7aa82a2876c163b4ced2dd2137d092d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Salvataggio del record corrente.  <a href="#a7aa82a2876c163b4ced2dd2137d092d9">Continua...</a><br/></td></tr>
<tr class="separator:a7aa82a2876c163b4ced2dd2137d092d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Descrizione dettagliata</h2>
<div class="textblock"><p>Header del modulo per la gestione del file dei records. </p>
<p>In questo file viene gestito l'archivio <a class="el" href="common_8h.html#a21ad8fd60380019d4ae5133842c9ca14" title="Definizione del nome del file per la gestione dei records. ">RECORDS_INI_FILE</a> (definito in <a class="el" href="common_8h.html" title="Header del modulo per la gestione delle parti comuni. ">common.h</a>) che contiene i dati relativi ai records delle partite. <br/>
 Viene salvato il nome del giocatore ed il tempo migliore per ogni tipo di gliglia in una sezione indicata come [colonne x righe x mine]. </p>
</div><h2 class="groupheader">Documentazione delle funzioni</h2>
<a class="anchor" id="a2843387e2881ca45b6c204aef30140d9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">gboolean load_current_record </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structrecord__data__s.html">record_data_s</a> *&#160;</td>
          <td class="paramname"><em>adata</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>acols</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>arows</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>amines</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Lettura del record corrente. </p>
<p>Legge dal file <a class="el" href="common_8h.html#a21ad8fd60380019d4ae5133842c9ca14" title="Definizione del nome del file per la gestione dei records. ">RECORDS_INI_FILE</a> nella sezione [colonne x righe x mine], i vari dati del'eventuale record attuale.</p>
<dl class="params"><dt>Parametri</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in,out]</td><td class="paramname">adata</td><td>Dati record corrente </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">acols</td><td>Numero di colonne per costruzione sezione nel file INI </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">arows</td><td>Numero di righe per costruzione sezione nel file INI </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">amines</td><td>Numero di mine per costruzione sezione nel file INI </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Restituisce</dt><dd>True se operazione è andata a buon fine, altrimenti false </dd></dl>

</div>
</div>
<a class="anchor" id="a7aa82a2876c163b4ced2dd2137d092d9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">gboolean save_current_record </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structrecord__data__s.html">record_data_s</a>&#160;</td>
          <td class="paramname"><em>adata</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>acols</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>arows</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>amines</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Salvataggio del record corrente. </p>
<p>Salva nel file <a class="el" href="common_8h.html#a21ad8fd60380019d4ae5133842c9ca14" title="Definizione del nome del file per la gestione dei records. ">RECORDS_INI_FILE</a> nella sezione [colonne x righe x mine], i vari dati del record attuale.</p>
<dl class="params"><dt>Parametri</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">adata</td><td>Dati record corrente </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">acols</td><td>Numero di colonne per costruzione sezione nel file INI </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">arows</td><td>Numero di righe per costruzione sezione nel file INI </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">amines</td><td>Numero di mine per costruzione sezione nel file INI </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Restituisce</dt><dd>True se operazione è andata a buon fine, altrimenti false </dd></dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generato Gio 3 Apr 2014 21:57:36 per Mine Sweeper Clone da &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.4
</small></address>
</body>
</html>
